package bean;

import java.util.Date;

public class orderltem{
	  private Integer id;
	    private Integer orderid;
	    private Integer orderno;
	    private Integer userid;
	    private Integer proid;
    private Integer quantity;
    private Integer totalprice;
    private Integer state;
    private Date createtime;
    private String abc;    
    private String cde;
   private String cef;
   private product pinfo;
   private receiverMsg rinfo;
   private orders oinfo;
/**
 * @return the id
 */
public Integer getId() {
	return id;
}
public Integer getOrderno() {
	return orderno;
}
public void setOrderno(Integer orderno) {
	this.orderno = orderno;
}
public orders getOinfo() {
	return oinfo;
}
public void setOinfo(orders oinfo) {
	this.oinfo = oinfo;
}
public product getPinfo() {
	return pinfo;
}
public void setPinfo(product pinfo) {
	this.pinfo = pinfo;
}
public receiverMsg getRinfo() {
	return rinfo;
}
public void setRinfo(receiverMsg rinfo) {
	this.rinfo = rinfo;
}
/**
 * @param id the id to set
 */
public void setId(Integer id) {
	this.id = id;
}
/**
 * @return the orderid
 */
public Integer getOrderid() {
	return orderid;
}
/**
 * @param orderid the orderid to set
 */
public void setOrderid(Integer orderid) {
	this.orderid = orderid;
}
/**
 * @return the userid
 */
public Integer getUserid() {
	return userid;
}
/**
 * @param userid the userid to set
 */
public void setUserid(Integer userid) {
	this.userid = userid;
}
/**
 * @return the proid
 */
public Integer getProid() {
	return proid;
}
/**
 * @param proid the proid to set
 */
public void setProid(Integer proid) {
	this.proid = proid;
}
/**
 * @return the quantity
 */
public Integer getQuantity() {
	return quantity;
}
/**
 * @param quantity the quantity to set
 */
public void setQuantity(Integer quantity) {
	this.quantity = quantity;
}
/**
 * @return the totalprice
 */
public Integer getTotalprice() {
	return totalprice;
}
/**
 * @param totalprice the totalprice to set
 */
public void setTotalprice(Integer totalprice) {
	this.totalprice = totalprice;
}
/**
 * @return the state
 */
public Integer getState() {
	return state;
}
/**
 * @param state the state to set
 */
public void setState(Integer state) {
	this.state = state;
}
/**
 * @return the createtime
 */
public Date getCreatetime() {
	return createtime;
}
/**
 * @param createtime the createtime to set
 */
public void setCreatetime(Date createtime) {
	this.createtime = createtime;
}
/**
 * @return the abc
 */
public String getAbc() {
	return abc;
}
/**
 * @param abc the abc to set
 */
public void setAbc(String abc) {
	this.abc = abc;
}
/**
 * @return the cde
 */
public String getCde() {
	return cde;
}
/**
 * @param cde the cde to set
 */
public void setCde(String cde) {
	this.cde = cde;
}
/**
 * @return the cef
 */
public String getCef() {
	return cef;
}
/**
 * @param cef the cef to set
 */
public void setCef(String cef) {
	this.cef = cef;
}




public orderltem(Integer id, Integer orderid, Integer userid, Integer proid, Integer quantity, Integer totalprice,
		Integer state, Date createtime, String abc, String cde, String cef) {
	super();
	this.id = id;
	this.orderid = orderid;
	this.userid = userid;
	this.proid = proid;
	this.quantity = quantity;
	this.totalprice = totalprice;
	this.state = state;
	this.createtime = createtime;
	this.abc = abc;
	this.cde = cde;
	this.cef = cef;
}

@Override
public String toString() {
	return "orderltem [id=" + id + ", orderid=" + orderid + ", orderno=" + orderno + ", userid=" + userid + ", proid="
			+ proid + ", quantity=" + quantity + ", totalprice=" + totalprice + ", state=" + state + ", createtime="
			+ createtime + ", abc=" + abc + ", cde=" + cde + ", cef=" + cef + ", pinfo=" + pinfo + ", rinfo=" + rinfo
			+ ", oinfo=" + oinfo + "]";
}
//@Override
//public String toString() {
//	return "orderltem [id=" + id + ", orderid=" + orderid + ", userid=" + userid + ", proid=" + proid + ", quantity="
//			+ quantity + ", totalprice=" + totalprice + ", state=" + state + ", createtime=" + createtime + ", abc="
//			+ abc + ", cde=" + cde + ", cef=" + cef + ", pinfo=" + pinfo + ", rinfo=" + rinfo + ", oinfo=" + oinfo
//			+ "]";
//}
public orderltem() {
	super();
}
public orderltem(Integer id, Integer orderid, Integer userid, Integer proid, Integer quantity, Integer totalprice,
		Integer state, Date createtime) {
	super();
	this.id = id;
	this.orderid = orderid;
	this.userid = userid;
	this.proid = proid;
	this.quantity = quantity;
	this.totalprice = totalprice;
	this.state = state;
	this.createtime = createtime;
	
}
public orderltem(Integer orderid, Integer userid, Integer proid, Integer quantity, Integer totalprice,
		Integer state, Date createtime) {
	super();
	
	this.orderid = orderid;
	this.userid = userid;
	this.proid = proid;
	this.quantity = quantity;
	this.totalprice = totalprice;
	this.state = state;
	this.createtime = createtime;
	
}
public orderltem(Integer id, Integer orderid, Integer userid, Integer proid, Integer quantity, Integer totalprice,
		Integer state, Date createtime, String abc, String cde, String cef, product pinfo, receiverMsg rinfo,
		orders oinfo) {
	super();
	this.id = id;
	this.orderid = orderid;
	this.userid = userid;
	this.proid = proid;
	this.quantity = quantity;
	this.totalprice = totalprice;
	this.state = state;
	this.createtime = createtime;
	this.abc = abc;
	this.cde = cde;
	this.cef = cef;
	this.pinfo = pinfo;
	this.rinfo = rinfo;
	this.oinfo = oinfo;
}
public orderltem(Integer id, Integer orderid, Integer orderno, Integer userid, Integer proid, Integer quantity,
		Integer totalprice, Integer state, Date createtime, String abc, String cde, String cef, product pinfo,
		receiverMsg rinfo, orders oinfo) {
	super();
	this.id = id;
	this.orderid = orderid;
	this.orderno = orderno;
	this.userid = userid;
	this.proid = proid;
	this.quantity = quantity;
	this.totalprice = totalprice;
	this.state = state;
	this.createtime = createtime;
	this.abc = abc;
	this.cde = cde;
	this.cef = cef;
	this.pinfo = pinfo;
	this.rinfo = rinfo;
	this.oinfo = oinfo;
}



}